<html lang="en-US">

<head>
	<meta name="generator" content="Hugo 0.125.7">
    
<title>花落雨忧</title>
<meta property="og:title" content="花落雨忧">
<meta property="og:type" content="website">



<script>
 window.difyChatbotConfig = {
  token: 'g3k1uMhZK6MFNHUQ',
  baseUrl: 'http://120.77.213.80'
 }
</script>
<script
 src="http://120.77.213.80/embed.min.js"
 id="g3k1uMhZK6MFNHUQ"
 defer>
</script>
<style>
  #dify-chatbot-bubble-button {
    background-color: #1C64F2 !important;
  }
  #dify-chatbot-bubble-window {
    width: 24rem !important;
    height: 40rem !important;
  }
</style>   



<meta property="description" content="">






<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">

<link rel="shortcut icon" href="https://www.lican.asia/logo/logo.png" type="image/x-icon" />


<link href="/index.xml" rel="alternate" type="application/rss+xml" title="花落雨忧" />


<link rel="stylesheet" href="/css/style.min.css" />

<link rel="stylesheet" href="/css/reset.min.css" />




<script src="https://www.lican.asia/js/highlight.min.js"></script>

<script>
hljs.configure({ ignoreUnescapedHTML: true })
hljs.highlightAll();
</script>


<script src="https://www.lican.asia/js/jquery.min.js"></script>




<link href="https://www.lican.asia/css/hugo-code.min.css" rel="stylesheet" />



</head>

<body id="period" class="home blog">
    <a class="skip-content" href="#main">Press "Enter" to skip to content</a>
    <div id="overflow-container" class="overflow-container">
        <header class="site-header" id="site-header" role="banner">
    <div class="max-width">
        <div id="title-container" class="title-container">
            <div id="site-title" class="site-title"><a href="/">花落雨忧</a></div>
            <p class="tagline">思所及 力所行 方为真.</p>
        </div>
        
        <div id="menu-primary-container" class="menu-primary-container">
            <div class="icon-container">
            </div>
            <div id="menu-primary" class="menu-container menu-primary" role="navigation">
                <nav class="menu">
                    <ul id="menu-primary-items" class="menu-primary-items">
                        
                        
                        <li id="menu-item-0"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/posts" aria-current="page" tabindex="0">首页</a></li>
                        
                        <li id="menu-item-1"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/tech/" aria-current="page" tabindex="1">技术文档</a></li>
                        
                        <li id="menu-item-2"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/article/" aria-current="page" tabindex="2">文章</a></li>
                        
                        <li id="menu-item-3"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/project/" aria-current="page" tabindex="3">项目</a></li>
                        
                        <li id="menu-item-4"
                            class="menu-item menu-item-type-custom menu-item-object-custom ">
                            <a href="/about/" aria-current="page" tabindex="4">关于</a></li>
                        
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</header>

        <div id="primary-container" class="primary-container">
            <div class="max-width">
                <section id="main" class="main" role="main">
    <div id="loop-container" class="loop-container">
        
        
        
        
        
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/k8s%E5%AE%89%E8%A3%85/">K8s安装</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2025/03/24</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>k8s安装 背景：和docker-compose一样，k8s也是容器编排工具，但k8s是一个更复杂的容器编排系统，用于管理大规模的容器化应用。 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/grafana&#43;loki%E6%90%AD%E5%BB%BA%E6%97%A5%E5%BF%97%E7%B3%BB%E7%BB%9F/">Grafana&#43;Loki搭建日志系统</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2025/03/18</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>Grafana+Loki搭建日志系统 背景： 之前搭建过elasticsearch+kibana+filebeat的日志系统，由于日志存储的位置是动态 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/%E6%90%AD%E5%BB%BA%E5%A4%9A%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7portainer/">搭建多服务器管理工具Portainer</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2025/03/17</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>搭建多服务器管理工具Portainer 背景：我们有很多mini服务器【工业服务器】里面部署了很多容器，想找一款可以集中管理这些容器的工具，于是找到 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/windows%E6%9C%AC%E5%9C%B0%E4%BD%BF%E7%94%A8ollama%E6%90%AD%E5%BB%BAai%E6%A8%A1%E5%9E%8B/">windows/linux使用ollama搭建ai模型</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2025/03/11</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>windows/linux使用ollama搭建ai模型 背景：最近看到朋友圈挺多朋友私有化部署了ai模型，感觉挺6的，决定跟一波风，学习一下本地部署
首先，我们 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/linux%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%9B%B4%E6%8D%A2%E6%BA%90/">Linux服务器更换镜像源</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/11/20</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>linux 服务器更换镜像源 背景 新买的centos服务器无法下载软件，提示
Loading mirror speeds from cached …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/%E6%90%AD%E5%BB%BAvpn/">搭建vpn</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/11/15</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>搭建vpn 作用：可以访问服务器的内网ip
目的：仅用于学习
操作对象：阿里云服务器
服务器内网ip：172.18.120.176
安装vpn之前：
步骤一：
 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/%E4%BD%BF%E7%94%A8k6%E5%AF%B9%E6%8E%A5%E5%8F%A3%E5%8E%8B%E6%B5%8B/">使用K6对接口进行压测</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/08/06</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>使用K6对接口进行压测 背景 在实际开发中，常常需要对接口进行性能测试，因此，少不了压测工具
在网上找了几款压测工具，感觉k6安装和使用都比较方便 step1： …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/%E5%AE%89%E8%A3%85%E5%B9%B6%E4%BD%BF%E7%94%A8clamav/">linux系统安装并使用杀毒软件</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/08/06</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>linux系统安装并使用杀毒软件 扫描工具：Clamav ClamAV 杀毒是Linux平台最受欢迎的杀毒软件。 支持多种平台，如：Linux/Unix、MAC …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/elasticsearch&#43;kibana&#43;filebeat%E6%90%AD%E5%BB%BA/">elasticsearch&#43;kibana&#43;filebeat搭建</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/07/25</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>背景：由于C端用户增多，我们需要有一款针对用户的日志系统，而不是登录容器分析日志，从而提高效率，快速定位问题 分析： 由于在上家公司接触到kibana，对查询语 …</p>
                        
                    </div>
            </article>
        </div>
        
        <div
            class="post-6033 post type-post status-publish format-standard hentry category-php8 category-php-usage category-notes tag-match tag-match-expressionswitch tag-php-8 tag-php8 entry">
            <article>
                <div class="post-container">
                    <div class="post-header">
                        <h2 class="post-title">
                            <a href="/posts/golang%E7%9A%84excelize%E4%BD%BF%E7%94%A8%E5%BF%83%E5%BE%97/">golang中使用excelize导出表格</a>
                        </h2>
                        <div class="post-byline">Published on
                            <a class="date" href="javascript:;">2024/07/19</a>
                            
                            
                            
                            
                            
                    </div>
                    <div class="post-content">
                        
                        
                        
                        
                        <p>golang中使用excelize导出表格 背景：客户每天定点取一组数据填入excel中，记录发酵周期内温度变化，并根据公式计算报表值， …</p>
                        
                    </div>
            </article>
        </div>
        

    </div>


    <nav class="navigation pagination" role="navigation" aria-label="Posts">
        <h2 class="screen-reader-text">Posts navigation</h2>
        <div class="nav-links">
            
            
            
            <span aria-current="page" class="page-numbers current">1</span>
            
            
            
            
            <a class="page-numbers" href="/page/2/">2</a>
            
            
            
            <a class="page-numbers" href="/page/3/">3</a>
            
            
            
            <a class="page-numbers" href="/page/4/">4</a>
            
            
            
            <a class="page-numbers" href="/page/5/">5</a>
            
            
            
            <a class="page-numbers" href="/page/6/">6</a>
            
            
            
            <a class="page-numbers" href="/page/7/">7</a>
            
            
            
            <a class="page-numbers" href="/page/8/">8</a>
            
            
            
            <a class="page-numbers" href="/page/9/">9</a>
            
            
            
            <a class="page-numbers" href="/page/10/">10</a>
            
            
            
            <a class="page-numbers" href="/page/11/">11</a>
            
            
            
            <a class="page-numbers" href="/page/12/">12</a>
            
            
            
            <a class="page-numbers" href="/page/13/">13</a>
            
            
            
            <a class="page-numbers" href="/page/14/">14</a>
            
            
            
            <a class="page-numbers" href="/page/15/">15</a>
            
            
            
            <a class="page-numbers" href="/page/16/">16</a>
            
            
            
            <a class="page-numbers" href="/page/17/">17</a>
            
            
            
            <a class="page-numbers" href="/page/18/">18</a>
            
            
            
            <a class="page-numbers" href="/page/19/">19</a>
            
            
            
            <a class="page-numbers" href="/page/20/">20</a>
            
            
            
            <a class="page-numbers" href="/page/21/">21</a>
            
            
            
            <a class="next page-numbers" href="/page/2/">Next</a>
            
        </div>
    </nav>
</section> 
<script src="https://readmore.openwrite.cn/js/readmore.js" type="text/javascript"></script>
<script>
    const btw = new BTWPlugin();
    btw.init({
        id: 'container',
        blogId: '33573-1732499652133-368',
        name: '花落雨忧',
        qrcode: 'https://www.lican.site/wechat/lican.png',
        keyword: '花落雨忧',
    });
</script>


                
                <aside class="sidebar sidebar-primary" id="sidebar-primary" role="complementary">
    <h1 class="screen-reader-text">Sidebar</h1>
    

    
    
    <section id="text-2" class="widget widget_text">
        <div class="textwidget">
            
            <div id="profile">
                <div id="profile_picture"><img src="https://www.lican.asia/logo/logo.png"></div>
                <div id="profile_intro">
                    <p><span class="name">Lican</span></p>
                    <p class="intro">全栈开发者，爱好造轮子。</p>
                </div>
            </div>
            
            <p>
                <script type="text/javascript">
                    (function ($) {
                        $(document).ready(function () {
                            var menuPrimaryContainer = $('#menu-primary-container');
                            var profile = $('#text-2');
                            $('#toggle-navigation').click(function () {
                                if (menuPrimaryContainer.hasClass('open')) {
                                    profile.removeClass('open');
                                } else {
                                    profile.addClass('open');
                                }
                            });
                        });
                    })(jQuery);
                </script>
            </p>
        </div>
    </section>
    
    
    
    
    
    <section id="text-5" class="widget widget_text">
        <h2 class="widget-title">开源项目</h2>
        <div class="textwidget">
            <div id="projects" style="line-height: 22px;">
                
                <a href="https://github.com/idoubi/gonews"
                    target="_blank">gonews</a>: &nbsp;Daily news for golang<br>
                
                <a href="https://github.com/idoubi/sql2struct"
                    target="_blank">sql2struct</a>: &nbsp;Generate go struct according to SQL<br>
                
                <a href="https://github.com/idoubi/goz"
                    target="_blank">goz</a>: &nbsp;Request library used in golang<br>
                
        </div>
    </section>
    
    

    
    
    
    
    <section id="qrcode" class="widget widget_media_image">
        <h2 class="widget-title">微信公众号</h2>
        <img width="258" height="258"
            src="https://www.lican.asia/wechat/lican.png"
            class="image wp-image-5514  attachment-full size-full" alt=""
            style="max-width: 100%; height: auto;"
            sizes="(max-width: 258px) 100vw, 258px">
    </section>
    
    

    
    
    

    
    
    

    
    
    
    
</aside>
            </div>
        </div>

        <footer id="site-footer" class="site-footer" role="contentinfo">
    <div class="max-width">
    </div>
    <div class="footer">
        <div id="footercontent">
            © lican.asia All rights reserved<br/>
            Built with Hugo Theme <a href="https://github.com/idoubi/hugo-theme-period" target="_blank">Period</a>
        </div>
    </div>
</footer>

<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?e8351b6d4626d5881d439ea1f6184baa";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
</script>
    
    
    </div>
    
</body>

</html>
